<include file="Public:header_user"/>

<div class="title_member">
	<h2>{$_cur_title}</h2>
</div>
<div class="user_search">
	<form method="get" action="" class="form clearfix">
		<ul class="clearfix">
			<li>
				<div class="label"><label>订单号：</label></div>
				<div class="enter"><input type="text" name="order_sn" value="{$order_sn}" class="text w166"></div>
			</li>
			<li>
				<div class="label"><label>交易时间：</label></div>
				<div class="enter">
					<input type="text" value="{$start_date}" name="start_date" class="text w92" onclick="WdatePicker()" > 
					<span class="f1">-</span>
					<input type="text" name="end_date" value="{$end_date}" class="text w92" onclick="WdatePicker()">
				</div>
			</li>
			<li>
				<div class="submit">
					<button type="submit">搜索</button>
				</div>
			</li>
		</ul>
	</form>
</div>

<table class="member_table">
	<thead>
		<tr>
			<th>订单编号</th>
			<th>合同名称</th>
			<th>生成时间</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<volist name="list" id="rs">
		<tr class="data-{$rs['order_sn']}">
			<td>{$rs['order_sn']}</td>
			<td>{$rs['title']}</td>
			<td>{$rs['datetime']}</td>
			<td class="operate">
				<a class="btn_red win" href="{:U('preview', array('order_sn' => $rs['order_sn']))}" full-screen="true" title="预览合同">预览</a>
				<a class="btn_red nojump" href="{:U('FreeAgreement/download', array('agreement_id' => $rs['agreement_id'], 'order_sn' => $rs['order_sn']))}">下载</a>
				<a class="btn_red nojump btn-confirm-opt" href="{:U('del', array('order_sn' => $rs['order_sn']))}" del-class="data-{$rs['order_sn']}" msg="您确定要删除此订单（{$rs['order_sn']}）">删除</a>
			</td>
		</tr>
		</volist>
		<empty name="list">
		<tr>
			<td class="no_result" colspan="7">
				抱歉，没有找到对应的订单数据。
			</td>
		</tr>
		</empty>
	</tbody>
</table>
<div class="page">{$page}</div>
			
<include file="Public:footer_user"/>